package com.juzipi.demo.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;

/**
 * @Author juzipi
 * @Date 2021/5/2 10:32
 * @Info
 */
public class Cat {

    @ExcelIgnore
    private Long id;

    @ExcelProperty(value = "宠物名字",index = 0)
    private String name;

    @ExcelProperty(value = "宠物年龄",index = 1)
    private Integer age;

    @ExcelProperty(value = "宠物性别",index = 2)
    private String sex;

    @ExcelProperty(value = "宠物品种",index = 3)
    private String variety;

    public Cat() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getVariety() {
        return variety;
    }

    public void setVariety(String variety) {
        this.variety = variety;
    }
}
